﻿Imports System.ComponentModel

Public Class CommonDefinitions

#Region "<< - AppConfig- >>"
    Public Const AppConfig_BlockingTimeKey As String = "TiempoBloqueo"
    Public Const AppConfig_BlockingMaxTryKey As String = "MaxIntentosBloqueo"
#End Region

#Region "<< -Screen- >>"
    Public Enum Screen
        Unknown = 0
        ABMClients = 1      'ABM Clientes
        ABMOwners = 2       'ABM Propietarios
        ABMProfiles = 3     'ABM Perfiles
        ABMUsers = 4        'ABM Usuarios
        ABMProperties = 5   'ABM Propiedades
    End Enum
#End Region

#Region "<< -Permission- >>"
    Public Enum Permission
        Unknown = 0
        Read = 1
        ReadAndWrite = 2
    End Enum
#End Region

#Region "<< -CRUD- >>"
    Public Enum CRUD
        Insert
        Update
        Delete
        Read
    End Enum
#End Region

#Region "<< -TypeOfStatePerProperty- >>"
    Public Enum TypeOfStatePerProperty
        <Description("Para Alquilar")>
        ToRent = 1
        <Description("Para Vender")>
        ToSell = 2
        <Description("Para Vender o Alquilar")>
        ToRentOrSell = 3
        <Description("Alquilada")>
        Rented = 4
        <Description("Vendida")>
        Selled = 5
    End Enum
#End Region

#Region "MonthOfTheYear"
    Public Enum Month
        <Description("Enero")>
        January = 1
        <Description("Febrero")>
        February = 2
        <Description("Marzo")>
        March = 3
        <Description("Abril")>
        April = 4
        <Description("Mayo")>
        May = 5
        <Description("Junio")>
        Jun = 6
        <Description("Julio")>
        July = 7
        <Description("Agosto")>
        August = 8
        <Description("Septiembre")>
        September = 9
        <Description("Octubre")>
        October = 10
        <Description("Noviembre")>
        November = 11
        <Description("Diciembre")>
        December = 12
    End Enum
#End Region

End Class
